package com.jianggy.abstractfactory;

import com.jianggy.abstractfactory.abstractproduct.Button;
import com.jianggy.abstractfactory.classicproduct.ClassicBackground;
import com.jianggy.abstractfactory.classicproduct.ClassicButton;
import com.jianggy.abstractfactory.classicproduct.ClassicCheckbox;
import com.jianggy.abstractfactory.classicproduct.ClassicTextview;
import com.jianggy.abstractfactory.abstractproduct.Background;
import com.jianggy.abstractfactory.abstractproduct.Checkbox;
import com.jianggy.abstractfactory.abstractproduct.TextView;

/**
 * @author jianggy
 * @time 2018年9月10日 下午11:06:09
 * @description
 */
public class ClassicFactory implements TopicFactory {

	@Override
	public Button createButton() {
		return new ClassicButton();
	}

	@Override
	public TextView createTextView() {
		return new ClassicTextview();
	}

	@Override
	public Background createBackgroud() {
		return new ClassicBackground();
	}

	@Override
	public Checkbox createCheckbox() {
		return new ClassicCheckbox();
	}

}
